package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 用户配置表
 * </p>
 *
 * @author leehao
 * @since 2019-07-09
 */
public class CConfiguration implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer cid;

    /**
     * 领取商品红包的次数 每日重置
     */
    private Integer getTimes;

    public CConfiguration() {
    }

    public CConfiguration(Integer getTimes) {
        this.getTimes = getTimes;
    }

    public CConfiguration(Integer cid, Integer getTimes) {
        this.cid = cid;
        this.getTimes = getTimes;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public Integer getGetTimes() {
        return getTimes;
    }

    public void setGetTimes(Integer getTimes) {
        this.getTimes = getTimes;
    }

    @Override
    public String toString() {
        return "CConfiguration{" +
        "id=" + id +
        ", cid=" + cid +
        ", getTimes=" + getTimes +
        "}";
    }
}
